home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010921-20020314
/
000369_harfst@cms-stl.com_Wed Feb 13 14:44:08 EST 2002.msg
< prev
next >
Wrap
Text File
|
2002-03-13
|
2KB
|
64 lines
Article: 13213 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!sn-xit-03!sn-xit-02!supernews.com!postnews1.google.com!not-for-mail
From: harfst@cms-stl.com (David L. Harfst)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: if syntax change
Date: 13 Feb 2002 11:31:10 -0800
Organization: http://groups.google.com/
Lines: 45
Message-ID: <26dc2188.0202131131.7ec3359f@posting.google.com>
References: <26dc2188.0202081336.79eb8459@posting.google.com> <a41het$1na$1@watsol.cc.columbia.edu> <26dc2188.0202110943.62504aec@posting.google.com> <a491sp$85l$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 66.136.168.97
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1013628670 18650 127.0.0.1 (13 Feb 2002 19:31:10 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 13 Feb 2002 19:31:10 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13213
Okay, your code works for me, too.
Try this:
def FastBlazer {
set modem type telebit
xif EQUAL "\$(SPEED)" "14400" {
set modem command init-string AT&F%S0*M10*W4M0X6V1\{13}
}
}
FastBlazer
I really appreciate your time, Frank.
fdc@columbia.edu (Frank da Cruz) wrote in message
> I checked it in 7.0.196, 8.0.200, and 8.0.201. The results are all
> identical:
>
> $ echo $SPEED
>
> $ kermit
> (/p/kd/fdc/tmp/) C-Kermit>tak x
> \v(m_init) = ATQ0X4&A3&N0&Y3S14=0\{13}
> (/p/kd/fdc/tmp/) C-Kermit>q
> $ export SPEED=14400
> $ echo $SPEED
> 14400
> $ kermit
> (/p/kd/fdc/tmp/) C-Kermit>tak x
> \v(m_init) = AT&F0+MS=10M0X4V1S95=41\{13}
> (/p/kd/fdc/tmp/) C-Kermit>
>
> where x is:
>
> set modem type usr
> xif EQUAL "\$(SPEED)" "14400" {
> # +MS=10 - Limits the connection speed to 14.4 KBaud
> set modem command Init-string AT&F0+MS=10M0X4V1S95=41\{13}
> }
> show var m_init
>
> No complaints from any Kermit version 7.0 or greater.
>
> - Frank